package com.material.common.exception;

/**
 * app登录超时
 * @author : Mr.D
 * @date : 2021/3/17 10:53
 */
public class LoginExpiredException extends RuntimeException{

    private static final long serialVersionUID = 1L;

    protected final String message;

    public LoginExpiredException(String message)
    {
        this.message = message;
    }

    public LoginExpiredException(String message, Throwable e)
    {
        super(message, e);
        this.message = message;
    }

    @Override
    public String getMessage()
    {
        return message;
    }
}
